<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title>星期</title>
    </head>
    <body>
        <?php
        // put your code here
         $rq = date('N');
        //echo $rq;
       if( $rq ==1 ){
            echo 
           '<img src="tp/1.jpg" width="200" height="300" alt="1"/>';
        }
        if( $rq ==2 ){
            echo 
            '<img src="tp/2.jpg" width="200" height="300" alt="2"/>';
        }
        if( $rq ==3 ){
            echo 
            '<img src="tp/3.jpg" width="200" height="300" alt="3"/>';
        }
        if( $rq ==4 ){
           echo 
           '<img src="tp/4.jpg" width="200" height="300" alt="4"/>';
        }
         if( $rq ==5 ){
            echo 
            '<img src="tp/5.jpg" width="200" height="300" alt="5"/>';
        }
        if( $rq ==6 ){
            echo 
           '<img src="tp/6.jpg" width="200" height="300" alt="6"/>';
        }
        if( $rq ==7 ){
            echo 
            '<img src="tp/7.jpg" width="200" height="300" alt="7"/>';
        }
        ?>
    </body>
</html>
